package com.example.neusoft.cook.ViewHolder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.neusoft.cook.R;

/**
 * Created by neusoft on 2017/5/8.
 */

public class FooditemViewHolder extends RecyclerView.ViewHolder {

    public ImageView imageView;
    public TextView foodNameView;
    public TextView foodPriceView;
    public TextView foodIntroView;

    public View itemView;

    public FooditemViewHolder(View itemView) {
        super(itemView);

        this.itemView = itemView;
        imageView = (ImageView) itemView.findViewById(R.id.imageView);
        foodNameView = (TextView) itemView.findViewById(R.id.textView_food_name);
        foodPriceView = (TextView) itemView.findViewById(R.id.textView_food_price);
        foodIntroView = (TextView) itemView.findViewById(R.id.textView_food_intro);
    }
}
